#ifndef ECU_RX8010_H_
#define ECU_RX8010_H_

#define RX8010_REG_SEC          0x10
#define RX8010_REG_MIN          0x11
#define RX8010_REG_HOUR         0x12
#define RX8010_REG_WEEK         0x13
#define RX8010_REG_DAY          0x14
#define RX8010_REG_MONTH        0x15
#define RX8010_REG_YEAR         0x16
#define RX8010_REG_RAM          0x17
#define RX8010_REG_ALWMIN       0x18
#define RX8010_REG_ALWHOUR      0x19
#define RX8010_REG_ALWWDAY      0x1a
#define RX8010_REG_TMCNT0       0x1b
#define RX8010_REG_TMCNT1       0x1c
#define RX8010_REG_EXTENSION    0x1d
#define RX8010_REG_FLAG         0x1e
#define RX8010_REG_CTRL         0x1xf

typedef struct
{
	u16 Year;
	u8 Month;
	u8 Day;
    u8 Week;
	u8 Hour;
	u8 Min;
	u8 Sencond;
	s8 Zone;
}ST_TIME;

void ECU_RTC_RUN(void);
void ECU_RTC_Test(void);


#endif

